<include file="__PUBLIC__/_header" />
    <link rel="stylesheet" href="__APP_SKIN__css/login.css?v=200" />
    <script src="__APP_SKIN__js/ajax.js"></script>
<style>
    #J-countTime {
        float: right;
        padding-left: 14px;
        width: 84px;
        height: 36px;
        line-height: 36px;
        color: #fff;
        font-size: 14px;
        background-color: #0c8bb4;
    }
    .am-hide{
        display: none;
    }
    .h-yanz:hover{
        color: #fff;
    }
</style>
<body>
<div class="login_header">
    <div class="left"><img src="__APP_SKIN__images/login_logo.jpg"></div>
    <div class="right"><img src="__APP_SKIN__images/images2.png"></div>
</div>
<div class="login-forget">
    <div class="login-box">
        <h1 style="color:#2f2f2f; font-size: 18px;margin-left: 38px;margin-top: 30px;">找回密码</h1>
        <form id="h-submit" action="{:BaseController::_createUrl('passport/mypsd')}" method="post">
            <input class="phone onnull h-phone" type="text" placeholder="输入手机号" id="UserAccount" name="mobile" value="" />
            <div id="yanzhengma">
                <input class="code onnull verify_code"  id="codeinput" type="text" placeholder="输入验证码" name="verify_code" value="" />
                <span id="J-countTime" class=" am-hide">验证码 <span id="J-timer"></span>s</span>
                <a href="javascript:void(0);" class="h-yanz J-getVerCode">获取验证码</a>
            </div>
            <input class="text2 onnull password" type="password" placeholder="密码" id="Password" name="password" value="" />
            <input class="text2 onnull sure-pwd" type="password" placeholder="再次输入密码" id="sure-pwd"  value="" />

            <p id="msg" >&nbsp;</p>

            <input class="submit J_btnSubmit" type="button" id="btnLogin" value="确定">
        </form>
    </div>
</div>

<div class="dialog" style="display:none">
    <h1>选择门店</h1>
    <div class="change">
        <ul id="shopList">
        </ul>
    </div>
</div>
<!--<div class="footer">-->
    <!--<P>黔ICP备00000000号-1 Copyright  黔城一家 2015-2017，All Rights Reserved </P>-->
    <!--<P>监督热线：400-000-0000 企业QQ：000000000</P>-->
<!--</div>-->


<div class="pay_bg" style="display: none;"></div>
<div class="IEpop" style="display:none;">
    <div class="IEpop_content">
        <h4>hi,&nbsp;&nbsp;您当前的浏览器版本过低，可能存在安全风险，建议升级浏览器：</h4>
        <a href="http://frxs.bj01.bdysite.com/chrome/ChromeStandalone.exe" target="_blank"  class="chrome"></a>
        <img  src="images/dianLine.png" class="dianLine"/>
        <span>或直接扫码下载APP</span>
        <div class="appaLoading">
            <img  src=""/>
        </div>
        <div class="close" onclick="closeIEpop()"></div>
    </div>
</div>
</body>
<script>
    $(function(){
        $(".J_btnSubmit").click(function(){
            var mobile=	$(".h-phone").val(),
                    verify_code=	$(".verify_code").val(),
                    password=	$(".password").val(),
                    surepwd=$(".sure-pwd").val();

            if(!mobile){
                layer.tips('请输入您的手机号', '.h-phone', {
                    tips: 3
                });
                return;
            }
            if(!verify_code){
                layer.tips('请输入您的验证码', '.verify_code', {
                    tips: 3
                });
                return;
            }
            if(!password){
                layer.tips('请输入您的密码', '.password', {
                    tips: 3
                });
                return;
            }
            if(!surepwd){
                layer.tips('请输入您的确认密码', '.sure-pwd', {
                    tips: 3
                });
                return;
            }
            if(password!=surepwd){
                layer.tips('两次密码不同', '.sure-pwd', {
                    tips: 3
                });
                return;
            }

            $("#h-submit").submit();
        })
        $(".J-getVerCode").click(function(){
            var mobile=	$("#UserAccount").val();
            if(!mobile){
                layer.tips('请输入您的手机号', '#UserAccount', {
                    tips: 3
                });
                return;
            }
            registerHttpHelper.getVerifyCode(mobile,"");
        })
    })
</script>
</html>
